<template>
  <page-body>
    <view class="page">
      <view class="flex benben-position-layout flex flex-wrap align-center eventManagement_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub eventManagement_fd0_0'>
          <view class='flex flex-wrap align-center eventManagement_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  eventManagement_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='eventManagement_fd0_0_c1_c0'>活动管理</text>
          </view>
          <view class='flex flex-wrap align-center justify-end eventManagement_fd0_0_c0'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <template v-for='(item,flex1) in dataList'>
        <view class="flex flex-direction align-stretch benben-flex-layout eventManagement_flex_1" :key='flex1'
          @tap.stop="handleJumpDiy" data-type="navigateTo"
          :data-url="`/pages/grzx/Eventdetails/Eventdetails?aid=${item.aid}`">
          <view class='flex flex-wrap align-center eventManagement_fd1_0'>
            <text class='eventManagement_fd1_0_c0'>活动标题</text>
            <text>{{item.template_name}}</text>
          </view>
          <view class='flex flex-wrap align-center eventManagement_fd1_1'>
            <text class='eventManagement_fd1_0_c0'>修改时间</text>
            <text>{{item.create_time}}</text>
          </view>
          <button class='self-end eventManagement_fd1_2'>修改模板</button>
        </view>
      </template>
      <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
        :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
      <!---flex布局flex布局结束-->


    </view>
  </page-body>
</template>
<script>
  import pagingList from '@/common/mixin/paging_list.js';
  export default {
    components: {},
    mixins: [pagingList],

    data() {
      return {
        "minixPagingListsApi": "",
        "pageingListApiMethod": "",
        "allowOnloadGetList": false,
        "dataList": []
      };
    },
    computed: {

    },
    watch: {},
    onLoad(options) {

    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {
      this.getList()
    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      getList() {
        this.minixPagingListsApi = global.apiUrls.post66863f03b3965;
        this.pageingListApiMethod = 'post';
        this.allowOnloadGetList = false;
        this.pagingListPostDataContent = {}
        this.listData = [];
        this.dataList = this.listData;
        this.pagingListToggle();
      },
      pagingListPostData() {
        return this.pagingListPostDataContent
      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: #F8F8F8;
    background-size: 100% auto;
  }

  .eventManagement_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .eventManagement_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333333;
    line-height: 50rpx;
  }

  .eventManagement_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .eventManagement_fd0_0_c0 {
    width: 120rpx;
  }

  .eventManagement_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .eventManagement_flex_1 {
    background: rgba(255, 255, 255, 1);
    margin: 26rpx 24rpx 0rpx 24rpx;
    padding: 24rpx;
    border-radius: 26rpx;
    background-size: 100% auto;
  }

  .eventManagement_fd1_2 {
    background: #F9E4C3;
    border-radius: 8rpx 8rpx 8rpx 8rpx;
    width: 200rpx;
    line-height: 72rpx;
    font-size: 26rpx;
    color: var(--benbenFontColor0);
    height: 72rpx;
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .eventManagement_fd1_1 {
    border-bottom: 1px solid #eee;
    padding: 0rpx 0rpx 24rpx 0rpx;
  }

  .eventManagement_fd1_0_c0 {
    font-size: 30rpx;
    width: 150rpx;
    color: rgba(153, 153, 153, 1);
  }

  .eventManagement_fd1_0 {
    margin: 0rpx 0rpx 24rpx 0rpx;
  }
</style>
